package com.wulijie.visitor;

/**
 * @Author cui
 * @Data
 */
public class SuccessAction extends Action{
    @Override
    public void getManResult(Man man) {
        System.out.println("man success");
    }

    @Override
    public void getWomanResult(Woman woman) {
        System.out.println("woman success");
    }
}
